package com.chen.constant;

public class ResultConstant {
    // 成功的状态吗
    public static final Integer CODE_SUCCESS = 200;
    // 未经授权的状态码
    public static final Integer CODE_UNAUTHORIZED_ERROR = 401;
    // 权限不够的错误状态码
    public static final Integer CODE_NO_PERMISSION = 403;
    // 找不到的错误状态码
    public static final Integer CODE_NOT_FOUND = 404;
    // 其他错误的状态码
    public static final Integer CODE_OTHER_ERROR = 422;


    public static final String MSG_SUCCESS = "成功";
    public static final String MSG_UNAUTHORIZED_ERROR = "未经授权";
    public static final String MSG_NO_PERMISSION = "权限不够";
    // 找不到
    public static final String MSG_NOT_FOUND_USER = "找不到用户";
    public static final String MSG_NOT_FOUND_GROUP = "找不到组";
    public static final String MSG_NOT_FOUND_CONTACT = "找不到联系人";

    // 数据无法处理的提示信息
    public static final String MSG_DATA_ERROR = "数据无法处理";
    // 邮箱已存在的错误信息
    public static final String MSG_EMAIL_EXIST = "邮箱已存在";
    // 用户未禁用
    public static final String MSG_USER_NOT_DISABLED = "用户未禁用";
    // 用户还不能删除
    public static final String MSG_USER_CAN_NOT_DELETE = "用户还不能删除";
    // 组名已存在
    public static final String MSG_GROUP_NAME_EXIST = "组名已存在";


    // 密码错误
    public static final String MSG_PASSWORD_ERROR = "密码错误";

    // 未知错误
    public static final String MSG_UNKNOWN_ERROR = "未知错误";



}
